<template>
  <div id="app">
    <!--路由占位符-->
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'app',
  watch: {
    $route(to, from) {
      if (to.path !== '/login') {
        let obj = {
          name: to.name,
          title: to.meta.title
        }
      }
    }
  }
}
</script>

<style>
</style>
